package com.quanyan.authority.model.request;


import com.quanyan.authority.model.db.TbFunction;
import com.quanyan.common.utils.StringUtil;
import org.apache.commons.lang3.StringUtils;

import java.util.Map;

/**
 * Created by Administrator on 2016/7/28.
 */
public class ReqFunction extends ReqBaseParam {

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "ReqFunction{" +
                "url='" + url + '\'' +
                '}';
    }

    public Map<String,Object> toMap(){
        Map<String,Object> map = super.toMap();
        if( url != null )
            map.put("url",this.url);
        return map;
    }

}
